<?php
namespace Foam\Model;

class Tva
{
    public $id_tva;
    public $libelle;
    public $valeur;
    public $actif;
    
    public function exchangeArray($data)
    {
        $this->id_gamme = (isset($data['id_tva'])) ? $data['id_tva'] : null;
        $this->libelle = (isset($data['libelle'])) ? $data['libelle'] : null;
        $this->description = (isset($data['valeur'])) ? $data['valeur'] : null;
        $this->actif = (isset($data['actif'])) ? $data['actif'] : null;
    }
}